package org.snail.activemq;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * activemq 消息队列推送的接口 作为一个通用的模板使用
 */
public interface PushService {

    ExecutorService pushExecutor = Executors.newFixedThreadPool(100);

    /**
     * 推送相关内容至activemq
     * @param sendObject  推送的相关内容
     */
    void push(Object sendObject);

}
